import { Module } from '@nestjs/common';
import { DishesService } from './dishes.service';
import { dishes,dishCategories } from './dishes.entity'; // 修改实体类引用
import { DishesController } from './dishes.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
@Module({
  imports: [TypeOrmModule.forFeature([dishes,dishCategories])],
  providers: [DishesService],
  controllers: [DishesController],
  exports: [DishesService],
})
export class DishesModule {}
